package com.zhongxi.guoyuan.entity.shopcart;

import com.zhongxi.guoyuan.entity.BaseResult;

import java.util.List;

/**
 * Created by Administrator on 2017/2/18.
 */

public class AddressList {
    private int code;
    private BaseResult safeobj;
    private List<AddressData> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public BaseResult getSafeobj() {
        return safeobj;
    }

    public void setSafeobj(BaseResult safeobj) {
        this.safeobj = safeobj;
    }

    public List<AddressData> getData() {
        return data;
    }

    public void setData(List<AddressData> data) {
        this.data = data;
    }

    public static class AddressData{

        private String province;
        private String p_id;

        private String city;
        private String c_id;

        private String prefecture;
        private String pre_id;

        private String key;
        private String value;

        public void setKey(String key) {
            this.key = key;
        }

        public void setValue(String value) {
            this.value = value;
        }

        public String getKey() {
            return key;
        }

        public String getValue() {
            return value;
        }

        public String getProvince() {
            return province;
        }

        public void setProvince(String province) {
            this.province = province;
        }

        public String getP_id() {
            return p_id;
        }

        public void setP_id(String p_id) {
            this.p_id = p_id;
        }

        public String getCity() {
            return city;
        }

        public void setCity(String city) {
            this.city = city;
        }

        public String getC_id() {
            return c_id;
        }

        public void setC_id(String c_id) {
            this.c_id = c_id;
        }

        public String getPrefecture() {
            return prefecture;
        }

        public void setPrefecture(String prefecture) {
            this.prefecture = prefecture;
        }

        public String getPre_id() {
            return pre_id;
        }

        public void setPre_id(String pre_id) {
            this.pre_id = pre_id;
        }
    }
}
